package org.bees.cms.core.furnish;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Product extends Furnish {
	private static final long serialVersionUID = 6170298238901636112L;

	private String model; // 型号
	private String picture; // 照片(相对路径)
	private String magnitude; // 尺寸
	private String color; // 颜色
	private String weight; // 重量
	private String material; // 材质
	private Integer fineness; // 成色
	private Integer shelf;// 保质期
	private Integer warranty;// 保修期
	private Integer replacement;// 包换期
	private Integer remain;// 剩余量

	@Column(length = 24)
	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(length = 160)
	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	@Column(length = 24)
	public String getMagnitude() {
		return magnitude;
	}

	public void setMagnitude(String magnitude) {
		this.magnitude = magnitude;
	}

	@Column(length = 12)
	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Column(length = 24)
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	@Column(length = 24)
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public Integer getFineness() {
		return fineness;
	}

	public void setFineness(Integer fineness) {
		this.fineness = fineness;
	}

	public Integer getShelf() {
		return shelf;
	}

	public void setShelf(Integer shelf) {
		this.shelf = shelf;
	}

	public Integer getWarranty() {
		return warranty;
	}

	public void setWarranty(Integer warranty) {
		this.warranty = warranty;
	}

	public Integer getReplacement() {
		return replacement;
	}

	public void setReplacement(Integer replacement) {
		this.replacement = replacement;
	}

	public Integer getRemain() {
		return remain;
	}

	public void setRemain(Integer remain) {
		this.remain = remain;
	}

}
